remove unncessary do block
authorJoey Hess <joeyh@joeyh.name>
Mon, 26 Sep 2022 17:10:25 +0000 (13:10 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 26 Sep 2022 17:10:25 +0000 (13:10 -0400)
Left by Reiko's patch

Annex/Perms.hs

index 69e344452a8567940edb2a2877a1a045f11fb66e..e6ed48a4d05454bd18a90e445a13e905a6b05241 100644 (file)
@@ -287,9 +287,8 @@ createContentDir dest = do
        unlessM (liftIO $ R.doesPathExist dir) $
                createAnnexDirectory dir 
        -- might have already existed with restricted perms
-       do
-               thawHook dir
-               unlessM crippledFileSystem $ liftIO $ allowWrite dir
+       thawHook dir
+       unlessM crippledFileSystem $ liftIO $ allowWrite dir
   where
        dir = parentDir dest